package com.hzj.service;

import com.hzj.pojo.VoteOption;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hzj
 * @since 2021-03-19
 */
public interface VoteOptionService extends IService<VoteOption> {
    List<Map<String, String>> checkNumTicket(int vsid);

    boolean delectOptions(String[] options, int vsid);

    boolean addOptions(Long vsId, int order, String[] optionsDate);

    boolean updateOptions(String[] options, Long vsId);

    int insertatch(List<VoteOption> list);
}
